var apiVersion = 'v1';

module.exports = {
    apiVersion: apiVersion,
    policies: {
        admin:["/getAllAbuses", "/getAdminUsers", "/addUser", "/editUser", "/editRole" , "/changeLockStatus" , "/getAllUsersTimeline", "/getUserTimeline", "/getAllLogs" ,"/getAllLogsCSV" ,"/getUserLogs" ,"/getUserLogsCSV", "/getAllLogsByDate", "/getAllActivitiesByDate", "/getTimelineCSV", "/createTimelineAdmin", "/getTimelineAdmin", "/getUserSequence", "/getSequenceCSV"],
        user:["/reportAbuse", "/getAllActivities","/addComment", "/getCommentsByIdea",
            "/deleteComments", "/createTimeline", "/recentCommentsByUser","/addComment",
            "/getCommentsByIdea", "/deleteComments", "/recentCommentsByUser","/createIdea",
            "/editIdea", "/getIdea", "/getTitle", "/getTags", "/favouriteIdea", "/recentIdeasByUser",
            "/getLeadBoardStats", "/spam", "/getDashBoardStats", "/getOneIdea", "/getCitableKeywords",
            "/autoCompleteByKnowledge", "/getKnowledeByKeywords", "/getCitationTreeData","/getWordCloud",
            "/getUserKeywords", "/findKeywordsByWords","/addRole", "/updateRole", "/deleteRole", "/register",
            "/login", "/me", "/getAllUsers", "/activate/:id", "/deactivate/:id", "/changepassword", "/confirm",
            "/forgotpassword", "/tokenCheck", "/passwordreset", "/logout", "/getAuthor", "/viewProfile", "/updateProfile",
            "/uploadCropped", "/countries", "/updateStatus", "/getRecentUsers", "/getAdminUsers", "/createNewVersion", "/getAllVersions",
            "/getRandomVersions", "/assignRandomVersion", "/setVersionCountAdd", "/setVersionCountSub", "/getVersioning" , "/addVote",
            "/createLog", "/saveIdea", "/getSavedIdea", "/deleteIdea", "/createSequence", "/getKeyWordCount", "/findKeywordsByPercent"]
    },
    excludedRoutes: [
        '/' + apiVersion + '/users/login',
        '/' + apiVersion + '/users/register',
        '/' + apiVersion + '/users/forgotpassword',
        '/' + apiVersion + '/users/confirm',
        '/' + apiVersion + '/users/passwordreset',
        '/' + apiVersion + '/auth/facebook/token',
        '/' + apiVersion + '/users/tokenCheck'
    ]
};
